package packageTest;

import org.junit.Test;
import org.xgluo.Constant;

/**
 * @author xgluo
 * @program: JBOToExcle
 * @name: PackageTestDemo
 * @description: 测试包下的测试类
 * @date 2025年03月15日
 */

public class PackageTestDemo {
     @Test
    public void packageTest() {


         System.out.println("System"+System.getProperty("user.dir"));
         System.out.println("classLoader.getResource:"+ Constant.class.getClassLoader().getResource("template.xlsx"));
         System.out.println("class.getResource:"+this.getClass().getResource("/template.xlsx"));
         System.out.println("class.getResource wit /:"+this.getClass().getResourceAsStream("template.xlsx"));
     }
}
